package com.xxx.video.network.configs;

public class NetWorkConstants {
    /**
     * network config
     */
    public class NetWorkConfig {
        /**
         * read time out
         */
        public static final int READ_TIME_OUT = 15;
        /**
         * write time out
         */
        public static final int WRITE_TIME_OUT = 15;
        /**
         * connect time out
         */
        public static final int CONNECT_TIME_OUT = 15;
    }


    /**
     * network module errorCode
     */
    public class NetWorkErrorCode {
        /**
         * request params empty
         */
        public static final int REQUEST_PARAMS_EMPTY = 0x001;
        /**
         * path empty
         */
        public static final int URL_EMPTY = 0x002;
        /**
         *net work error
         */
        public static final int NET_WORK_ERROR = 0x003;
        /**
         * write or read io error
         */
        public static final int IO_ERROR = 0x004;
        /**
         * json error
         */
        public static final int JSON_ERROR = 0x005;
    }
}
